package com.toman.JavaBean;



import java.io.Serializable;
import java.util.Date;
import java.util.List;

import lombok.Data;

/**
 * 设备点检
 * 
 * @author toman
 * @email sunlightcs@gmail.com
 * @date 2018-05-28 11:19:26
 */
@Data
public class DeviceCheckRecordEntity implements Serializable {
	private static final long serialVersionUID = 1L;
private String passAllIf;

	private boolean select_status;
	private Integer deleteFlag;

	public boolean isSelect_status() {
		return select_status;
	}

	public String getPassAllIf() {
		return passAllIf;
	}

	public void setPassAllIf(String passAllIf) {
		this.passAllIf = passAllIf;
	}

	public void setSelect_status(boolean select_status) {
		this.select_status = select_status;
	}

	public Integer getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	/**
	 * 
	 */
	private Long id;
	/**
	 * 设备ID
	 */
	private String deviceId;
	/**
	 * 点检项目列表,点检结果(0表示通过，1表示未通过)，格式：点检项目id1,点检结果1;点检项目id2,点检结果2
	 */
	private String deviceCheckItems;
	/**
	 * 企业id
	 */
	private String companyId;
	/**
	 * 班次id
	 */
	private String shiftId;
	/**
	 * 备注
	 */
	private String remark;
	/**
	 * 状态，0代表未审核，1代表已审核
	 */
	private String checkStatus;
	/**
	 * 创建时间
	 */
	private String createTime;
	/**
	 * 更新时间
	 */
	private Date updateTime;
	
	/**审核时间*/
	private String auditTime;

	/**设备名称*/

	private String deviceName;
	/**设备编码*/

	private String deviceCode;

	/**班次名称*/
	private String shiftName;

	/**设备点检项目转义名称 前端使用*/
	private String checkRecordsNames;

	/**点检人ID*/
	private Long checkUserId;
	/**审核人ID*/
	private Long auditUserId;

	/**点检人*/
	private SysUserEntity checkUser;

	/**审核人*/
	private SysUserEntity auditUser;

	/**关联的报修单ids*/
	private String repairRecordIds;

	/**关联的设备*/
    private DeviceEntity deviceEntity;

	/**
	 * 设置：
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：设备ID
	 */
	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}
	/**
	 * 获取：设备ID
	 */
	public String getDeviceId() {
		return deviceId;
	}
	/**
	 * 设置：点检项目列表,点检结果(0表示通过，1表示未通过)，格式：点检项目id1,点检结果1;点检项目id2,点检结果2
	 */
	public void setDeviceCheckItems(String deviceCheckItems) {
		this.deviceCheckItems = deviceCheckItems;
	}
	/**
	 * 获取：点检项目列表,点检结果(0表示通过，1表示未通过)，格式：点检项目id1,点检结果1;点检项目id2,点检结果2
	 */
	public String getDeviceCheckItems() {
		return deviceCheckItems;
	}
	/**
	 * 设置：企业id
	 */
	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}
	/**
	 * 获取：企业id
	 */
	public String getCompanyId() {
		return companyId;
	}
	/**
	 * 设置：班次id
	 */
	public void setShiftId(String shiftId) {
		this.shiftId = shiftId;
	}
	/**
	 * 获取：班次id
	 */
	public String getShiftId() {
		return shiftId;
	}
	/**
	 * 设置：备注
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}
	/**
	 * 获取：备注
	 */
	public String getRemark() {
		return remark;
	}
	/**
	 * 设置：状态，0代表未审核，1代表已审核
	 */
	public void setCheckStatus(String checkStatus) {
		this.checkStatus = checkStatus;
	}
	/**
	 * 获取：状态，0代表未审核，1代表已审核
	 */
	public String getCheckStatus() {
		return checkStatus;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public String getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：更新时间
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	/**
	 * 获取：更新时间
	 */
	public Date getUpdateTime() {
		return updateTime;
	}

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getShiftName() {
        return shiftName;
    }

    public void setShiftName(String shiftName) {
        this.shiftName = shiftName;
    }


    public String getCheckRecordsNames() {
        return checkRecordsNames;
    }

    public void setCheckRecordsNames(String checkRecordsNames) {
        this.checkRecordsNames = checkRecordsNames;
    }


    public Long getCheckUserId() {
        return checkUserId;
    }

    public void setCheckUserId(Long checkUserId) {
        this.checkUserId = checkUserId;
    }

    public Long getAuditUserId() {
        return auditUserId;
    }

    public void setAuditUserId(Long auditUserId) {
        this.auditUserId = auditUserId;
    }

    public SysUserEntity getCheckUser() {
        return checkUser;
    }

    public void setCheckUser(SysUserEntity checkUser) {
        this.checkUser = checkUser;
    }

    public SysUserEntity getAuditUser() {
        return auditUser;
    }

    public void setAuditUser(SysUserEntity auditUser) {
        this.auditUser = auditUser;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

	public String getRepairRecordIds() {
		return repairRecordIds;
	}

	public void setRepairRecordIds(String repairRecordIds) {
		this.repairRecordIds = repairRecordIds;
	}

	public String getAuditTime() {
		return auditTime;
	}

    public List<CheckRecordResultDto> getCheckResults() {
        return checkResults;
    }

    public void setCheckResults(List<CheckRecordResultDto> checkResults) {
        this.checkResults = checkResults;
    }

	public void setAuditTime(String auditTime) {
		this.auditTime = auditTime;
	}

    public DeviceEntity getDeviceEntity() {
        return deviceEntity;
    }

    public void setDeviceEntity(DeviceEntity deviceEntity) {
        this.deviceEntity = deviceEntity;
    }

	public boolean isOutOfTime() {
		return outOfTime;
	}

	public void setOutOfTime(boolean outOfTime) {
		this.outOfTime = outOfTime;
	}

	private List<CheckRecordResultDto> checkResults;
//	是否不在在点检开始时间与点检结束时间内，true表示不在，false表示在
	private  boolean outOfTime=false;
}
